<script setup>
import { CONFIG } from '~/lib/config'
const props = defineProps({
  /** 是否显示文本标识 */
  showTitle: {
    type: Boolean,
    default: true
  }
})

</script>
<template>
<h1 class="flex">
    <img src="../assets/images/logo.svg" alt="logo" class="w-8 mr-2"/>
    <span  class="font-bold text-xl" v-if="showTitle">{{ CONFIG.siteName }}</span>
</h1>
</template>